import { request } from "@/utils/request";

// 商品相关接口
export default {
	page(data) {
		return request({
			url: '/mall/c/goods/page',
			method: 'GET',
			data
		})
	},
	detail(id, skuId) {
		return request({
			url: '/mall/c/goods/detail',
			method: 'GET',
			data: {
				id,
				skuId
			}
		})
	},
}